﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InMessage.aspx.cs" Inherits="WMS6.Web.Administration.InMessage" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>InMessage</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" id="js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/Verification.js" type="text/javascript"></script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initEditNewPage();
        }
        function confirmMsg(code) {
            if (code == "F4100_001") {
                if (confirm('<%=GetGlobalMsgResource("F4100_001") %>')) {
                    return true;
                }
                else {
                    return false;
                }
            }
        }
    </script>

</head>
<body>
    <form id="F1224" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblMessageInfo" runat="server" CssClass="label_header" Text="消息信息" meta:resourcekey="lblMessageInfo" ></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnGoBack" runat="server" CssClass="button" Enabled="False" Text="<%$ Resources:ButtonResource,btnGoBack %>"
                            CausesValidation="False" OnClick="btnGoBack_Click"/>
                    </td>
                    <td><asp:Button ID="btnDelete" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnDelete%>" 
                             OnClientClick="javascript:if(confirmMsg('F4100_001'))return true; else return false;"
                            onclick="btnDelete_Click"  /></td>
                </tr>
            </table>
        </div>
        <asp:UpdatePanel ID="up1" runat="server">
            <ContentTemplate>
                <div>
                    <asp:Label ID="lblMsg" runat="server" CssClass="label_message" meta:resourcekey="lblMsg"></asp:Label>
                </div>
                <div id="div_content">
                    <div id="con_one_1" style="display: block;">
                        <table width="360" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td>
                                    <asp:Label CssClass="label" ID="lblMessageTitle" runat="server" Text="消息标题" meta:resourcekey="lblMessageTitle"></asp:Label>
                                </td>
                                <td>
                                    
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:TextBox ID="txtMessageTitle" runat="server" CssClass="textbox" Width="320px"></asp:TextBox><font
                                        class="must_input">*</font>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="label" ID="lblSystemCreate" runat="server" Text="是否系统消息" meta:resourcekey="lblSystemCreate"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="chkSystemCreate" runat="server" CssClass="checkbox" Text="是否系统消息"
                    Checked="True" meta:resourcekey="chkSystemCreate" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="label" ID="lblCreatedDate" runat="server" Text="发送时间" meta:resourcekey="lblCreatedDate"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtCreatedDate" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="label" ID="lblFromUserID" runat="server" Text="发送者编号" meta:resourcekey="lblFromUserID"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtFromUserID" runat="server" CssClass="textbox"></asp:TextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label CssClass="label" ID="lblMessageContent" runat="server" Text="消息内容" meta:resourcekey="lblMessageContent"></asp:Label>
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:TextBox ID="txtMessageContent" runat="server" CssClass="largetextarea" Height="150px"
                                        TextMode="MultiLine"></asp:TextBox>
                                </td>
                            </tr>
                           
                            <tr height="10px">
                                <td>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
        <input type="hidden" id="hdnFrom" runat="server" />
         <input type="hidden" id="hdnRowID" runat="server" />
    </div>
    </form>
</body>
</html>
